package com.websocket.service.mapping;

import com.websocket.hander.HandlerExecutionChain;

public class HandlerExecution {
    private final HandlerMethod method;
    private final HandlerExecutionChain executionChain;

    public HandlerExecution(HandlerMethod method, HandlerExecutionChain executionChain) {
        this.method = method;
        this.executionChain = executionChain;
    }

    public HandlerMethod getMethod() {
        return method;
    }

    public HandlerExecutionChain getExecutionChain() {
        return executionChain;
    }
}